import React from 'react';
import { withRouter } from 'react-router-dom';
import style from './notFound.module.scss';
import { NavLink } from 'react-router-dom';
import { Button } from 'antd';

class NotFound extends React.Component {
  constructor(props) {
    super(props)
  }
  render() {
    return (
      <div className={style.cont}>
        <Button className={style.btn} type="primary" size="large">
          <NavLink to="/index">
            返回首页
          </NavLink>
        </Button>
      </div>
    )
  }
}
export default withRouter(NotFound)